package com.service.impl;

import com.mapper.UserMapper;
import com.pojo.UserInfo;
import com.service.UserInferService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceImpl implements UserInferService {
    @Autowired
    UserMapper userMapper;
    @Override
    public UserInfo queryUserByname(String name) {
        UserInfo user = userMapper.queryUserByname(name);
        return user;
    }
}
